home *** CD-ROM | disk | FTP | other *** search
/ Aminet 4 / Aminet 4 - November 1994.iso / aminet / comm / dlg / base36v1.lha / base36.doc < prev   
Text File  |  1994-07-27  |  2KB  |  67 lines

  1. Base36 Documentation
  2. --------------------
  3.  
  4. If you have ever played with any RIP graphics for a BBS, you probably have 
  5. noticed all those weird numbers in the commands.  They are called
  6. MegaNums.  All they are is base 36 numbers (as compared to base 16 like
  7. hexidecimal or base 10 for decimal).  They help to conserve transmission
  8. times.  For example, a long decimal number like 1000 translates to 
  9. just RS.
  10.  
  11. The problem for a long time (at least for me) was that there wasn't a 
  12. MegaNum converter for the Amiga.  I had to boot up my IBM and use a 
  13. program called Base36 to convert all the numbers. This was a little 
  14. annoying so I set down and wrote this program.  
  15.  
  16. To use it, type base36 <number> where the number is either a MegaNum or a
  17. normal decimal number.
  18.  
  19. Something like the following will appear on your screen:
  20.  
  21. 7.dh0:bin> base36 1000
  22. Decimal:  46656
  23.     RIP:  00RS
  24.  
  25. Or, conversely:
  26.  
  27. 7.dh0:bin> base36 RS
  28. Decimal:  1000
  29.     RIP:  RS
  30.  
  31. See how easy it is? 
  32.  
  33. I have included the code (in C) for the program.  It should compile on 
  34. nearly everything (including UNIX and DOS machines) since it is all pure
  35. ANSI C.  You should be able to figure it out.
  36.  
  37. One thing I like to note is that my program can handle larger numbers than
  38. the beamer version does.  Hah!  Be careful with really big ones cause I'm
  39. not at all sure what will happen. 
  40.  
  41. You can use the code for whatever you want as long as I get credit for it
  42. somehow.  For example, if you are writing a shareware program with it,
  43. send me a copy (especially if it is a door program for DLG).
  44.  
  45. Please distribute this far and wide via any means possible (SANs, ADS, 
  46. AmiNet, etc.).  I don't have access to the file echoes and I really 
  47. can't get the program up on AmiNet either for some reason.
  48.  
  49. I can be contacted at the following:
  50.  
  51. Guy Smith
  52. 1093 Manigan Ave.
  53. Oviedo, FL 32765
  54. Voice:  407-366-6426
  55. Internet:  GUSMITH@delphi.com 
  56.  
  57. Or on my BBS at:
  58.  
  59. Gus's BS BBS
  60. Oviedo, FL (Orlando)
  61. 407-366-6274
  62. AmigaNet: 40:716/21.0
  63. FidoNet: 1:363/274.0 (DON'T use this until at least the .210 nodelist
  64.                       because my number is incorrect.  Make sure the
  65.                       listed number is 366-6274 and NOT 366-6426 before
  66.                       calling.)
  67.